package cn.serenedream.housedecoration.dao;

import cn.serenedream.housedecoration.entity.Products;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ProductsRepository extends JpaRepository<Products, Long> {
    Page<Products> findByName(String name, Pageable pageable);
}
